﻿using System.Windows.Input;

namespace Orktane.Components
{
    public struct ConsoleKeyInfo
    {
        readonly Key _key;
        readonly ModifierKeys _modifierKeys;
        readonly int _platformKeyCode;

        public ConsoleKeyInfo(Key key, int platformKeyCode, ModifierKeys modifierKeys)
        {
            _key = key;
            _platformKeyCode = platformKeyCode;
            _modifierKeys = modifierKeys;
        }

#region Properties

        public Key Key
        {
            get { return _key; }
        }

        public int PlatformKeyCode
        {
            get { return _platformKeyCode; }
        }

        public ModifierKeys ModifierKeys
        {
            get { return _modifierKeys;  }
        }

#endregion

    }
}
